package demo015.controller;

import demo015.pojo.Pojo1;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;


@Controller
public class controller1{
    @Autowired
    private demo015.service.service1 service1;
    public void az(){
        Pojo1 pojo1 = new Pojo1();
        pojo1.setAnInt(12);
        pojo1.setAs(127);
        pojo1.setName("2022北京冬奥会");
        service1.in(pojo1);
    }

}
